/*
 * @Author: your name
 * @Date: 2021-12-17 15:31:08
 * @LastEditTime: 2022-04-20 17:32:21
 * @LastEditors: Please set LastEditors
 * @Description: 分类 控制器入口文件
 * @FilePath: \blog-api\src\user\user.module.ts
 */
import { Module } from '@nestjs/common';
import { categories } from './categories.controller';
import { CategoriesService } from './categories.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Categories } from './entities/categories.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Categories])],
  controllers: [categories],
  providers: [CategoriesService],
  exports: [ CategoriesService ]
})
export class CategoriesModule {}
